647be58551f2e2c28e194977c23bf97055c79d85,io.sloeber.core/src/io/sloeber/core/managers/Manager.java,Manager,startup_Pluging,#IProgressMonitor#,90
Before Change
InstallDefaultLibraries(monitor);
// Downmload sample programs
downloadAndInstall(Defaults.EXAMPLES_URL, Defaults.EXAMPLE_PACKAGE,
Paths.get(ConfigurationPreferences.getInstallationPathExamples().toString()), false, monitor);
// now add the boards
Package pkg = packageIndices.get(0).getPackages().get(0);
After Change
MyMultiStatus mstatus = new MyMultiStatus("Failed to configer Sloeber"); //$NON-NLS-1$
// Downmload sample programs
mstatus.addErrors(downloadAndInstall(Defaults.EXAMPLES_URL, Defaults.EXAMPLE_PACKAGE,
Paths.get(ConfigurationPreferences.getInstallationPathExamples().toString()), false, monitor));
if (mstatus.isOK()) {
// if successfully installed the examples: add the boards